package config.ioc;

import com.dao.UserDao;
import com.dao.UserDaoImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HelloIocConfig4 {

    @Bean
    public UserDao userDao() {
        return new UserDaoImpl();
    }
}
